home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000434_news@columbia.edu _Mon Jan 10 19:54:16 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA08977
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 10 Jan 2000 19:54:15 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA16421
for kermit.misc@watsun.cc.columbia.edu; Mon, 10 Jan 2000 19:41:21 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <387A77D7.52E5B806@matsch.com>
From: Charlie Sears <charlie@matsch.com>
Subject: Question on ckermit 7 redirect in background
Date: Mon, 10 Jan 2000 19:22:47 -0500
Organization: Msen, Inc.
To: kermit.misc@columbia.edu
I would like to use kermit to read ascii text from a serial port and
dump the text into a file (or pipe it to another command). I need to
run the entire process in the background so it can start automatically
when an unattended system boots.
I considered using the connect command and piping the output, but this
doesn't work in the background:
# nohup kermit -l /dev/ttyS0 -b 9600 -B -C "c" > file 2>&1 &
[1] 1131
#
[1]+ Stopped (tty output) nohup kermit -l /dev/ttyS0 -b 9600 -B -C
"c" >file 2>&1
The redirect command also works fine when running kermit interactively,
but when running in the background no data is written to the file. Any
thoughts would be appreciated.
This is using C-Kermit 7.0.196 Beta.11, 6 Dec 1999, for Linux (RedHat).
TIA
Charlie